package com.rio.dandan.pojo;

import java.util.Date;

import com.google.gson.annotations.Expose;

/**
 * 用户账户
 * 
 * UserAccount.java
 * 
 * @author 宋陆
 * @version 1.0 2014-5-19
 */
public class UserAccount implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    @Expose
    private String uid;
    @Expose
    private String username;
    private String password;
    private String salt;
    @Expose
    private Date regTime;
    @Expose
    private Long regIpLong;
    @Expose
    private String regIpStr;
    @Expose
    private Date lastTime;
    @Expose
    private Long lastIpLong;
    @Expose
    private String lastIpStr;
    @Expose
    private Date loginTime;
    @Expose
    private Long loginIpLong;
    @Expose
    private String loginIpStr;
    @Expose
    private String ivtCode;
    @Expose
    private Short grade;
    @Expose
    private Short status;

    public UserAccount() {
    }

    /**
     * @return the uid
     */
    public String getUid() {
        return uid;
    }

    /**
     * @param uid
     *            the uid to set
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username
     *            the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     *            the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the salt
     */
    public String getSalt() {
        return salt;
    }

    /**
     * @param salt
     *            the salt to set
     */
    public void setSalt(String salt) {
        this.salt = salt;
    }

    /**
     * @return the regTime
     */
    public Date getRegTime() {
        return regTime;
    }

    /**
     * @param regTime
     *            the regTime to set
     */
    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    /**
     * @return the regIpLong
     */
    public Long getRegIpLong() {
        return regIpLong;
    }

    /**
     * @param regIpLong
     *            the regIpLong to set
     */
    public void setRegIpLong(Long regIpLong) {
        this.regIpLong = regIpLong;
    }

    /**
     * @return the regIpStr
     */
    public String getRegIpStr() {
        return regIpStr;
    }

    /**
     * @param regIpStr
     *            the regIpStr to set
     */
    public void setRegIpStr(String regIpStr) {
        this.regIpStr = regIpStr;
    }

    /**
     * @return the lastTime
     */
    public Date getLastTime() {
        return lastTime;
    }

    /**
     * @param lastTime
     *            the lastTime to set
     */
    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    /**
     * @return the lastIpLong
     */
    public Long getLastIpLong() {
        return lastIpLong;
    }

    /**
     * @param lastIpLong
     *            the lastIpLong to set
     */
    public void setLastIpLong(Long lastIpLong) {
        this.lastIpLong = lastIpLong;
    }

    /**
     * @return the lastIpStr
     */
    public String getLastIpStr() {
        return lastIpStr;
    }

    /**
     * @param lastIpStr
     *            the lastIpStr to set
     */
    public void setLastIpStr(String lastIpStr) {
        this.lastIpStr = lastIpStr;
    }

    /**
     * @return the loginTime
     */
    public Date getLoginTime() {
        return loginTime;
    }

    /**
     * @param loginTime
     *            the loginTime to set
     */
    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    /**
     * @return the loginIpLong
     */
    public Long getLoginIpLong() {
        return loginIpLong;
    }

    /**
     * @param loginIpLong
     *            the loginIpLong to set
     */
    public void setLoginIpLong(Long loginIpLong) {
        this.loginIpLong = loginIpLong;
    }

    /**
     * @return the loginIpStr
     */
    public String getLoginIpStr() {
        return loginIpStr;
    }

    /**
     * @param loginIpStr
     *            the loginIpStr to set
     */
    public void setLoginIpStr(String loginIpStr) {
        this.loginIpStr = loginIpStr;
    }

    /**
     * @return the ivtCode
     */
    public String getIvtCode() {
        return ivtCode;
    }

    /**
     * @param ivtCode
     *            the ivtCode to set
     */
    public void setIvtCode(String ivtCode) {
        this.ivtCode = ivtCode;
    }

    /**
     * @return the grade
     */
    public Short getGrade() {
        return grade;
    }

    /**
     * @param grade
     *            the grade to set
     */
    public void setGrade(Short grade) {
        this.grade = grade;
    }

    /**
     * @return the status
     */
    public Short getStatus() {
        return status;
    }

    /**
     * @param status
     *            the status to set
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * @return the serialversionuid
     */
    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}
